package com.metaedu.framework;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Chenin
 * @version Jun 2, 2015
 */
public class FreeMarkerView extends org.springframework.web.servlet.view.freemarker.FreeMarkerView {
    @Override
    protected void exposeHelpers(Map<String, Object> model, HttpServletRequest request) throws Exception {
        model.put("baseUrl", request.getContextPath());
        super.exposeHelpers(model, request);
    }
}
